package com.sccba.emtbusiness.domain;

import com.sccba.common.annotation.Excel;
import com.sccba.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 发版及相关人员关联对象 yjcz_fb_user
 * 
 * @author lichh
 * @date 2024-07-31
 */
public class YjczFbUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long pkId;

    /** 发版表主键 */
    @Excel(name = "发版表主键")
    private Long fbId;

    /** 用户表主键 */
    @Excel(name = "用户表主键")
    private Long userId;

    private String userName;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    /** 类型（0-总控 1-问题收集人） */
    @Excel(name = "类型", readConverterExp = "0=-总控,1=-问题收集人")
    private Integer type;

    public void setPkId(Long pkId) 
    {
        this.pkId = pkId;
    }

    public Long getPkId() 
    {
        return pkId;
    }
    public void setFbId(Long fbId) 
    {
        this.fbId = fbId;
    }

    public Long getFbId() 
    {
        return fbId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pkId", getPkId())
            .append("fbId", getFbId())
            .append("userId", getUserId())
            .append("type", getType())
            .toString();
    }
}
